export default function getRouter() {
    return new Promise((resolve) => {
        let accessedRoutes = JSON.parse(sessionStorage.getItem("addRoutes"));
        resolve(accessedRoutes);
    });
};